package com.tjsinfo.tjsoa.addresslist.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.Action;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

import com.tjsinfo.tjsoa.addresslist.bo.IAddressListUserBo;

public class ReturnAddressListIndexAction extends Action{
	private IAddressListUserBo userBo;
	public void setUserBo(IAddressListUserBo userBo) {
		this.userBo = userBo;
	}
	
	public ActionForward execute(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response) {
		
		String intpage = request.getParameter("intpage");
		String user_id = request.getParameter("user_id");
		String group_id = request.getParameter("group_id");
		String moduleType = request.getParameter("moduleType");
		
		request.setAttribute("group_id", group_id);
		request.setAttribute("first", "updateorselect");
		request.setAttribute("user_id", user_id);
		request.setAttribute("user_page", intpage);
		request.setAttribute("moduleType", moduleType);
		return mapping.findForward("ok");
	}
}
